package com.atguigu.gulimall.gulimallproduct.feign;

import com.atguigu.common.to.SkuHasStockVo;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author: Zjn ; Bring it on !!!
 * @Date: 2021/11/2 0002 11:08
 * Note:
 */
@FeignClient("gulimall-ware")
public interface WareFeignService {
    @PostMapping("gulimallware/waresku/hasStock")
    R getSkuHasStock(@RequestBody List<Long> skuIds);
}
